package com.qf.data.course.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.qf.commons.base.entity.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 课程分类表(CourseType)表实体类
 *
 * @author makejava
 * @since 2022-11-29 09:23:04
 */
@Data
@Accessors(chain = true)
public class CourseType extends BaseEntity implements Serializable {
    //主键
    @TableId(type = IdType.AUTO)
    private Long id;
    //父分类的id 如果为null表示为顶级分类
    private Long pid;
    //课程名称
    private String courseName;

}

